package com.ttc.ssm.mapper.home;

import com.ttc.ssm.common.ManagePage;
import com.ttc.ssm.common.ResumePage;
import com.ttc.ssm.common.SearchResumePage;
import com.ttc.ssm.po.Resume;

import java.util.List;
import java.util.Map;

/**
 * Created by 58296 on 2016/8/9.
 */
public interface HomeResumeMapper {
    int insertResume(Resume resume) throws Exception;
    List<Resume> selectResumeForPage(ResumePage resumePage) throws Exception;
    int totalResumeRows(ResumePage page) throws Exception;
    Resume selectResumeById(Integer resume_id) throws Exception;
    int countRowsForSearchResume(SearchResumePage searchResumePage) throws Exception;
    List<Resume> selectResume(SearchResumePage searchResumePage) throws Exception;



    List<Resume> selectResumeManageByJobId(ManagePage managePage) throws Exception;
    int countResumeManageRows(ManagePage managePage) throws Exception;

    List<Resume> selectResumeManageByJobId2(ManagePage managePage) throws Exception;

    int countResumeManageRows2(ManagePage managePage) throws Exception;
    int selectCustomerIdByResumeId(int resume_id) throws Exception;
}
